Contacts:address_book_saving_system.o reception_desk.o contact_management_system.o registration_and_deregistration.o login_and_logout.o set_up_system.o
	gcc address_book_saving_system.o reception_desk.o contact_management_system.o registration_and_deregistration.o login_and_logout.o set_up_system.o -o Contacts

address_book_saving_system.o:address_book_saving_system.c
	gcc -c address_book_saving_system.c -o address_book_saving_system.o

reception_desk.o:reception_desk.c
	gcc -c reception_desk.c -o reception_desk.o

contact_management_system.o:contact_management_system.c
	gcc -c contact_management_system.c -o contact_management_system.o

registration_and_deregistration.o:registration_and_deregistration.c
	gcc -c registration_and_deregistration.c -o registration_and_deregistration.o

login_and_logout.o:login_and_logout.c
	gcc -c login_and_logout.c -o login_and_logout.o

set_up_system.o:set_up_system.c
	gcc -c set_up_system.c -o set_up_system.o

.PHONY:clean
clean:
	rm *.o Contacts
